package com.pureut.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.system.domain.SubjectRequest;
import com.pureut.system.domain.dto.SubjectRequestDetailsDto;
import com.pureut.system.domain.dto.SubjectRequestInitDto;
import com.pureut.system.domain.dto.SubjectRequestPagesDto;
import com.pureut.system.domain.vo.SubjectRequestVo;

import java.util.List;

/**
 * @Author: pureut
 * @Date: 2024-12-05 15:50:50
 * @Desc: 实验品申请
 */
public interface ISubjectRequestService extends IService<SubjectRequest> {

    /**
     * 分页查询
     * @param subjectRequestVo
     * @return
     */
    List<SubjectRequestPagesDto> queryPage(SubjectRequestVo subjectRequestVo);

    /**
     * 新增实验品申请
     * @param subjectRequestVo
     * @return
     */
    Boolean save(SubjectRequestVo subjectRequestVo);


    /**
     * 更新实验品申请
     * @param subjectRequestVo
     * @return
     */
    Boolean updateById(SubjectRequestVo subjectRequestVo);

    /**
     * 获取实验品申请 初始化信息
     * @return
     */
    SubjectRequestInitDto infoInit();

    /**
     * 获取实验品申请详细信息
     * @param id
     * @return
     */
    SubjectRequestDetailsDto getInfoById(Long id);

    /**
     * 审核
     * @param subjectRequestVo
     * @return
     */
    Boolean examine(SubjectRequestVo subjectRequestVo);
}

